<%@ page contentType="text/html;charset=UTF-8" %>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-store"/>
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Expires" content="0"/>
<script charset="utf-8" src="${ctx}/editor/kindeditor-all.js"></script>
<script charset="utf-8" src="${ctx}/editor/lang/zh-CN.js"></script>
<script>
        KindEditor.ready(function(K) {
                window.editor = K.create('#editor_id',{
				cssPath : '/xmiles-manager/editor/plugins/code/prettify.css',
				uploadJson : '/xmiles-manager/editor/jsp/upload_json.jsp',
				fileManagerJson : '/xmiles-manager/editor/jsp/file_manager_json.jsp',
				allowFileManager : true,
				afterCreate : function() {
					var self = this;
					K.ctrl(document, 13, function() {
						self.sync();
						document.forms['example'].submit();
					});
					K.ctrl(self.edit.doc, 13, function() {
						self.sync();
						document.forms['example'].submit();
					});
				}
			});
        });
</script>
